<%@ Register TagPrefix="cc" Namespace="MyFramework.Web.UI.WebControls" Assembly="MyFramework.Web" %>
<%@ Register TagPrefix="uc1" TagName="Pager" Src="../../UserControls/Pager.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="ConPointList.aspx.vb" Inherits="MIMS_WRS.Web.ConPointList"%>
<cc:masterpage runat="server" templatefile="~/Offices/Settings/SettingMasterPage.ascx" id="Masterpage1">
	<cc:contentregion id="crContent" runat="server">
		<A href="ConPointDetail.aspx">Add new Consolidation Points</A>
		<cc:repeater id="rptList" runat="server">
			<headertemplate>
				<table class="List">
					<thead>
						<tr>
							<td>
								Consolidation Point</td>
							<td>Display on IDS</td>
							<td>Container Loading</td>
							<td>Tall Pallet Vol</td>
							<td>Half Pallet Vol</td>
							<td>Loading Port</td>
							<td>Good Description</td>
						</tr>
					</thead>
					<tbody>
			</headertemplate>
			<itemtemplate>
				<tr class="ItemRow">
					<td><a href='ConPointDetail.aspx?cpid=<%# DataBinder.Eval(Container.DataItem, "ConPointID")%>'><%# DataBinder.Eval(Container.DataItem, "Description")%></a></td>
					<td><%# GetDisplayIDSHTML(DataBinder.Eval(Container.DataItem, "IsDisplayed")) %></td>
					<td><%# Server.HtmlEncode(Convert.ToString(DataBinder.Eval(Container, "DataItem.ContainerLoading"))) %></td>
					<td><%# Server.HtmlEncode(Convert.ToString(DataBinder.Eval(Container, "DataItem.TallPalletVol"))) %></td>
					<td><%# Server.HtmlEncode(Convert.ToString(DataBinder.Eval(Container, "DataItem.HalfPalletVol"))) %></td>
					<td><%# Server.HtmlEncode(Convert.ToString(DataBinder.Eval(Container, "DataItem.LoadingPort"))) %></td>
					<td><%# Server.HtmlEncode(Convert.ToString(DataBinder.Eval(Container, "DataItem.Goods"))).Replace(Environment.NewLine, "<BR>") %></td>
				</tr>
			</itemtemplate>
			<alternatingitemtemplate>
				<tr class="AlternateItemRow">
					<td><a href='ConPointDetail.aspx?cpid=<%# DataBinder.Eval(Container.DataItem, "ConPointID")%>'><%# DataBinder.Eval(Container.DataItem, "Description")%></a></td>
					<td><%# GetDisplayIDSHTML(DataBinder.Eval(Container.DataItem, "IsDisplayed")) %></td>
					<td><%# Server.HtmlEncode(Convert.ToString(DataBinder.Eval(Container, "DataItem.ContainerLoading"))) %></td>
					<td><%# Server.HtmlEncode(Convert.ToString(DataBinder.Eval(Container, "DataItem.TallPalletVol"))) %></td>
					<td><%# Server.HtmlEncode(Convert.ToString(DataBinder.Eval(Container, "DataItem.HalfPalletVol"))) %></td>
					<td><%# Server.HtmlEncode(Convert.ToString(DataBinder.Eval(Container, "DataItem.LoadingPort"))) %></td>
					<td><%# Server.HtmlEncode(Convert.ToString(DataBinder.Eval(Container, "DataItem.Goods"))).Replace(Environment.NewLine, "<BR>") %></td>
				</tr>
			</alternatingitemtemplate>
			<footertemplate>
		</tbody>
		</table>
		</footertemplate>
			<nonetemplate>
				<tr>
					<td colspan="5">
						There is no items.
					</td>
				</tr>
			</nonetemplate>
		</cc:repeater>
		<DIV id="pager">
			<uc1:Pager id="ucPager" runat="server"></uc1:Pager></DIV>
	</cc:contentregion>
	<cc:contentregion id="pageTitle" runat="server">Consolidation Points List 
</cc:contentregion>
</cc:masterpage>
